﻿using Microsoft.EntityFrameworkCore;
using SmartFarmSleep.Common.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartFarmSleep.Common.Contexts
{
    public class EFDBContext:DbContext
    {
        public EFDBContext(DbContextOptions<EFDBContext> options) : base(options) { }
        //部门表士大夫萨达粗不会
        public DbSet<Departments> Departments { get; set; }
        public DbSet<SheepFarm> SheepFarm { get; set; }

    }
}
